package com.science.slam.service;

import com.science.slam.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;

public interface UserService extends IService<User> {
    int NORMAL_USER_MAX_FILE_NUM = 20;

    Integer addUserFileNumByAccount(String account);

    User selectByPhoneNumber(String phoneNumber);

    Integer editUserMessage(String count, String colName, Object newMessage);

    User selectByAccount(String account);

    User getCurrentUser(HttpServletRequest request);

    Boolean checkSubmitAuthorization(User user);
}
